//
//  SignItemModel.m
//  PublicInfo
//
//  Created by enghou on 2018/2/2.
//  Copyright © 2018年 xyxorigation. All rights reserved.
//

#import "SignItemModel.h"

@implementation SignItemModel
-(instancetype)initWithSource:(NSDictionary *)source{
    self = [super initWithSource:source];
    if (self) {
        NSString *signInTime = [self contentForKey:@"signInTime" withSource:source];
        NSString *day = [signInTime substringWithRange:NSMakeRange(8, 2)];
        self.day = [day integerValue];
    }
    return self;
}
@end
